import { AttrData } from "../attr/AttrData";
import { RoleData } from "./RoleData";

/**
 * 队伍信息
 */
export class TeamData {
    static teamCount = 3;
    static showIds: string[] = ["", "1001", "1002", "215121"]
    static myTeam(): RoleData[] {
        let teamData = []
        for (let i = 1; i <= this.teamCount; i++) {
            let data: RoleData = {
                uid: "player_" + i,
                group: "self",
                showId: this.showIds[i],
                attrData: AttrData.getAttrs(),
                skillData: [1001, 1002, 1003, 1004],
                pos: i,
                face: 1,
            }
            teamData.push(data)
        }
        return teamData;
    }
}